package com.ztgf.sys.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.sys.models.dto.SysMenuDTO;
import com.ztgf.sys.models.dto.SysRoleMenuRelationDTO;
import com.ztgf.sys.models.vo.SysMenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色菜单关系表  Mapper 接口
 * </p>
 *
 * @author YUE
 * @since 2020-05-26
 */
public interface SysRoleMenuRelationMapper extends BaseMapper<SysRoleMenuRelationDTO> {
    List<SysMenuDTO> selectMenuListByRoleId(Long roleId);
    List<SysMenuVO> selectListMenuVOByRoleId(@Param("idList") List<Long> idList);
}
